package com.miao.springmt.pojo;

import java.util.ArrayList;
import java.util.List;

public class CustomerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFpNumIsNull() {
            addCriterion("fp_num is null");
            return (Criteria) this;
        }

        public Criteria andFpNumIsNotNull() {
            addCriterion("fp_num is not null");
            return (Criteria) this;
        }

        public Criteria andFpNumEqualTo(String value) {
            addCriterion("fp_num =", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumNotEqualTo(String value) {
            addCriterion("fp_num <>", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumGreaterThan(String value) {
            addCriterion("fp_num >", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumGreaterThanOrEqualTo(String value) {
            addCriterion("fp_num >=", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumLessThan(String value) {
            addCriterion("fp_num <", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumLessThanOrEqualTo(String value) {
            addCriterion("fp_num <=", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumLike(String value) {
            addCriterion("fp_num like", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumNotLike(String value) {
            addCriterion("fp_num not like", value, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumIn(List<String> values) {
            addCriterion("fp_num in", values, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumNotIn(List<String> values) {
            addCriterion("fp_num not in", values, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumBetween(String value1, String value2) {
            addCriterion("fp_num between", value1, value2, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpNumNotBetween(String value1, String value2) {
            addCriterion("fp_num not between", value1, value2, "fpNum");
            return (Criteria) this;
        }

        public Criteria andFpDateIsNull() {
            addCriterion("fp_date is null");
            return (Criteria) this;
        }

        public Criteria andFpDateIsNotNull() {
            addCriterion("fp_date is not null");
            return (Criteria) this;
        }

        public Criteria andFpDateEqualTo(String value) {
            addCriterion("fp_date =", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateNotEqualTo(String value) {
            addCriterion("fp_date <>", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateGreaterThan(String value) {
            addCriterion("fp_date >", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateGreaterThanOrEqualTo(String value) {
            addCriterion("fp_date >=", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateLessThan(String value) {
            addCriterion("fp_date <", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateLessThanOrEqualTo(String value) {
            addCriterion("fp_date <=", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateLike(String value) {
            addCriterion("fp_date like", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateNotLike(String value) {
            addCriterion("fp_date not like", value, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateIn(List<String> values) {
            addCriterion("fp_date in", values, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateNotIn(List<String> values) {
            addCriterion("fp_date not in", values, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateBetween(String value1, String value2) {
            addCriterion("fp_date between", value1, value2, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpDateNotBetween(String value1, String value2) {
            addCriterion("fp_date not between", value1, value2, "fpDate");
            return (Criteria) this;
        }

        public Criteria andFpCodeIsNull() {
            addCriterion("fp_code is null");
            return (Criteria) this;
        }

        public Criteria andFpCodeIsNotNull() {
            addCriterion("fp_code is not null");
            return (Criteria) this;
        }

        public Criteria andFpCodeEqualTo(String value) {
            addCriterion("fp_code =", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeNotEqualTo(String value) {
            addCriterion("fp_code <>", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeGreaterThan(String value) {
            addCriterion("fp_code >", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeGreaterThanOrEqualTo(String value) {
            addCriterion("fp_code >=", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeLessThan(String value) {
            addCriterion("fp_code <", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeLessThanOrEqualTo(String value) {
            addCriterion("fp_code <=", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeLike(String value) {
            addCriterion("fp_code like", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeNotLike(String value) {
            addCriterion("fp_code not like", value, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeIn(List<String> values) {
            addCriterion("fp_code in", values, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeNotIn(List<String> values) {
            addCriterion("fp_code not in", values, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeBetween(String value1, String value2) {
            addCriterion("fp_code between", value1, value2, "fpCode");
            return (Criteria) this;
        }

        public Criteria andFpCodeNotBetween(String value1, String value2) {
            addCriterion("fp_code not between", value1, value2, "fpCode");
            return (Criteria) this;
        }

        public Criteria andBuyerNameIsNull() {
            addCriterion("buyer_name is null");
            return (Criteria) this;
        }

        public Criteria andBuyerNameIsNotNull() {
            addCriterion("buyer_name is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerNameEqualTo(String value) {
            addCriterion("buyer_name =", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameNotEqualTo(String value) {
            addCriterion("buyer_name <>", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameGreaterThan(String value) {
            addCriterion("buyer_name >", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_name >=", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameLessThan(String value) {
            addCriterion("buyer_name <", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameLessThanOrEqualTo(String value) {
            addCriterion("buyer_name <=", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameLike(String value) {
            addCriterion("buyer_name like", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameNotLike(String value) {
            addCriterion("buyer_name not like", value, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameIn(List<String> values) {
            addCriterion("buyer_name in", values, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameNotIn(List<String> values) {
            addCriterion("buyer_name not in", values, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameBetween(String value1, String value2) {
            addCriterion("buyer_name between", value1, value2, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerNameNotBetween(String value1, String value2) {
            addCriterion("buyer_name not between", value1, value2, "buyerName");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeIsNull() {
            addCriterion("buyer_code is null");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeIsNotNull() {
            addCriterion("buyer_code is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeEqualTo(String value) {
            addCriterion("buyer_code =", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeNotEqualTo(String value) {
            addCriterion("buyer_code <>", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeGreaterThan(String value) {
            addCriterion("buyer_code >", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_code >=", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeLessThan(String value) {
            addCriterion("buyer_code <", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeLessThanOrEqualTo(String value) {
            addCriterion("buyer_code <=", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeLike(String value) {
            addCriterion("buyer_code like", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeNotLike(String value) {
            addCriterion("buyer_code not like", value, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeIn(List<String> values) {
            addCriterion("buyer_code in", values, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeNotIn(List<String> values) {
            addCriterion("buyer_code not in", values, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeBetween(String value1, String value2) {
            addCriterion("buyer_code between", value1, value2, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerCodeNotBetween(String value1, String value2) {
            addCriterion("buyer_code not between", value1, value2, "buyerCode");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressIsNull() {
            addCriterion("buyer_address is null");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressIsNotNull() {
            addCriterion("buyer_address is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressEqualTo(String value) {
            addCriterion("buyer_address =", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressNotEqualTo(String value) {
            addCriterion("buyer_address <>", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressGreaterThan(String value) {
            addCriterion("buyer_address >", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_address >=", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressLessThan(String value) {
            addCriterion("buyer_address <", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressLessThanOrEqualTo(String value) {
            addCriterion("buyer_address <=", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressLike(String value) {
            addCriterion("buyer_address like", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressNotLike(String value) {
            addCriterion("buyer_address not like", value, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressIn(List<String> values) {
            addCriterion("buyer_address in", values, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressNotIn(List<String> values) {
            addCriterion("buyer_address not in", values, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressBetween(String value1, String value2) {
            addCriterion("buyer_address between", value1, value2, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerAddressNotBetween(String value1, String value2) {
            addCriterion("buyer_address not between", value1, value2, "buyerAddress");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberIsNull() {
            addCriterion("buyer_number is null");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberIsNotNull() {
            addCriterion("buyer_number is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberEqualTo(String value) {
            addCriterion("buyer_number =", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberNotEqualTo(String value) {
            addCriterion("buyer_number <>", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberGreaterThan(String value) {
            addCriterion("buyer_number >", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberGreaterThanOrEqualTo(String value) {
            addCriterion("buyer_number >=", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberLessThan(String value) {
            addCriterion("buyer_number <", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberLessThanOrEqualTo(String value) {
            addCriterion("buyer_number <=", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberLike(String value) {
            addCriterion("buyer_number like", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberNotLike(String value) {
            addCriterion("buyer_number not like", value, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberIn(List<String> values) {
            addCriterion("buyer_number in", values, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberNotIn(List<String> values) {
            addCriterion("buyer_number not in", values, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberBetween(String value1, String value2) {
            addCriterion("buyer_number between", value1, value2, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerNumberNotBetween(String value1, String value2) {
            addCriterion("buyer_number not between", value1, value2, "buyerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNameIsNull() {
            addCriterion("seller_name is null");
            return (Criteria) this;
        }

        public Criteria andSellerNameIsNotNull() {
            addCriterion("seller_name is not null");
            return (Criteria) this;
        }

        public Criteria andSellerNameEqualTo(String value) {
            addCriterion("seller_name =", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotEqualTo(String value) {
            addCriterion("seller_name <>", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameGreaterThan(String value) {
            addCriterion("seller_name >", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameGreaterThanOrEqualTo(String value) {
            addCriterion("seller_name >=", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLessThan(String value) {
            addCriterion("seller_name <", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLessThanOrEqualTo(String value) {
            addCriterion("seller_name <=", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLike(String value) {
            addCriterion("seller_name like", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotLike(String value) {
            addCriterion("seller_name not like", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameIn(List<String> values) {
            addCriterion("seller_name in", values, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotIn(List<String> values) {
            addCriterion("seller_name not in", values, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameBetween(String value1, String value2) {
            addCriterion("seller_name between", value1, value2, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotBetween(String value1, String value2) {
            addCriterion("seller_name not between", value1, value2, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerCodeIsNull() {
            addCriterion("seller_code is null");
            return (Criteria) this;
        }

        public Criteria andSellerCodeIsNotNull() {
            addCriterion("seller_code is not null");
            return (Criteria) this;
        }

        public Criteria andSellerCodeEqualTo(String value) {
            addCriterion("seller_code =", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeNotEqualTo(String value) {
            addCriterion("seller_code <>", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeGreaterThan(String value) {
            addCriterion("seller_code >", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("seller_code >=", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeLessThan(String value) {
            addCriterion("seller_code <", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeLessThanOrEqualTo(String value) {
            addCriterion("seller_code <=", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeLike(String value) {
            addCriterion("seller_code like", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeNotLike(String value) {
            addCriterion("seller_code not like", value, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeIn(List<String> values) {
            addCriterion("seller_code in", values, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeNotIn(List<String> values) {
            addCriterion("seller_code not in", values, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeBetween(String value1, String value2) {
            addCriterion("seller_code between", value1, value2, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerCodeNotBetween(String value1, String value2) {
            addCriterion("seller_code not between", value1, value2, "sellerCode");
            return (Criteria) this;
        }

        public Criteria andSellerAddressIsNull() {
            addCriterion("seller_address is null");
            return (Criteria) this;
        }

        public Criteria andSellerAddressIsNotNull() {
            addCriterion("seller_address is not null");
            return (Criteria) this;
        }

        public Criteria andSellerAddressEqualTo(String value) {
            addCriterion("seller_address =", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressNotEqualTo(String value) {
            addCriterion("seller_address <>", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressGreaterThan(String value) {
            addCriterion("seller_address >", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("seller_address >=", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressLessThan(String value) {
            addCriterion("seller_address <", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressLessThanOrEqualTo(String value) {
            addCriterion("seller_address <=", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressLike(String value) {
            addCriterion("seller_address like", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressNotLike(String value) {
            addCriterion("seller_address not like", value, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressIn(List<String> values) {
            addCriterion("seller_address in", values, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressNotIn(List<String> values) {
            addCriterion("seller_address not in", values, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressBetween(String value1, String value2) {
            addCriterion("seller_address between", value1, value2, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerAddressNotBetween(String value1, String value2) {
            addCriterion("seller_address not between", value1, value2, "sellerAddress");
            return (Criteria) this;
        }

        public Criteria andSellerNumberIsNull() {
            addCriterion("seller_number is null");
            return (Criteria) this;
        }

        public Criteria andSellerNumberIsNotNull() {
            addCriterion("seller_number is not null");
            return (Criteria) this;
        }

        public Criteria andSellerNumberEqualTo(String value) {
            addCriterion("seller_number =", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberNotEqualTo(String value) {
            addCriterion("seller_number <>", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberGreaterThan(String value) {
            addCriterion("seller_number >", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberGreaterThanOrEqualTo(String value) {
            addCriterion("seller_number >=", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberLessThan(String value) {
            addCriterion("seller_number <", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberLessThanOrEqualTo(String value) {
            addCriterion("seller_number <=", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberLike(String value) {
            addCriterion("seller_number like", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberNotLike(String value) {
            addCriterion("seller_number not like", value, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberIn(List<String> values) {
            addCriterion("seller_number in", values, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberNotIn(List<String> values) {
            addCriterion("seller_number not in", values, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberBetween(String value1, String value2) {
            addCriterion("seller_number between", value1, value2, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andSellerNumberNotBetween(String value1, String value2) {
            addCriterion("seller_number not between", value1, value2, "sellerNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberIsNull() {
            addCriterion("licenseplate_number is null");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberIsNotNull() {
            addCriterion("licenseplate_number is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberEqualTo(String value) {
            addCriterion("licenseplate_number =", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberNotEqualTo(String value) {
            addCriterion("licenseplate_number <>", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberGreaterThan(String value) {
            addCriterion("licenseplate_number >", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberGreaterThanOrEqualTo(String value) {
            addCriterion("licenseplate_number >=", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberLessThan(String value) {
            addCriterion("licenseplate_number <", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberLessThanOrEqualTo(String value) {
            addCriterion("licenseplate_number <=", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberLike(String value) {
            addCriterion("licenseplate_number like", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberNotLike(String value) {
            addCriterion("licenseplate_number not like", value, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberIn(List<String> values) {
            addCriterion("licenseplate_number in", values, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberNotIn(List<String> values) {
            addCriterion("licenseplate_number not in", values, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberBetween(String value1, String value2) {
            addCriterion("licenseplate_number between", value1, value2, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andLicenseplateNumberNotBetween(String value1, String value2) {
            addCriterion("licenseplate_number not between", value1, value2, "licenseplateNumber");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoIsNull() {
            addCriterion("registration_no is null");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoIsNotNull() {
            addCriterion("registration_no is not null");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoEqualTo(String value) {
            addCriterion("registration_no =", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoNotEqualTo(String value) {
            addCriterion("registration_no <>", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoGreaterThan(String value) {
            addCriterion("registration_no >", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoGreaterThanOrEqualTo(String value) {
            addCriterion("registration_no >=", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoLessThan(String value) {
            addCriterion("registration_no <", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoLessThanOrEqualTo(String value) {
            addCriterion("registration_no <=", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoLike(String value) {
            addCriterion("registration_no like", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoNotLike(String value) {
            addCriterion("registration_no not like", value, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoIn(List<String> values) {
            addCriterion("registration_no in", values, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoNotIn(List<String> values) {
            addCriterion("registration_no not in", values, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoBetween(String value1, String value2) {
            addCriterion("registration_no between", value1, value2, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andRegistrationNoNotBetween(String value1, String value2) {
            addCriterion("registration_no not between", value1, value2, "registrationNo");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("car_type is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("car_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("car_type =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("car_type <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("car_type >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_type >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("car_type <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("car_type <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("car_type like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("car_type not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("car_type in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("car_type not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("car_type between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("car_type not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarCodeIsNull() {
            addCriterion("car_code is null");
            return (Criteria) this;
        }

        public Criteria andCarCodeIsNotNull() {
            addCriterion("car_code is not null");
            return (Criteria) this;
        }

        public Criteria andCarCodeEqualTo(String value) {
            addCriterion("car_code =", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeNotEqualTo(String value) {
            addCriterion("car_code <>", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeGreaterThan(String value) {
            addCriterion("car_code >", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeGreaterThanOrEqualTo(String value) {
            addCriterion("car_code >=", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeLessThan(String value) {
            addCriterion("car_code <", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeLessThanOrEqualTo(String value) {
            addCriterion("car_code <=", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeLike(String value) {
            addCriterion("car_code like", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeNotLike(String value) {
            addCriterion("car_code not like", value, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeIn(List<String> values) {
            addCriterion("car_code in", values, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeNotIn(List<String> values) {
            addCriterion("car_code not in", values, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeBetween(String value1, String value2) {
            addCriterion("car_code between", value1, value2, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarCodeNotBetween(String value1, String value2) {
            addCriterion("car_code not between", value1, value2, "carCode");
            return (Criteria) this;
        }

        public Criteria andCarModelIsNull() {
            addCriterion("car_model is null");
            return (Criteria) this;
        }

        public Criteria andCarModelIsNotNull() {
            addCriterion("car_model is not null");
            return (Criteria) this;
        }

        public Criteria andCarModelEqualTo(String value) {
            addCriterion("car_model =", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotEqualTo(String value) {
            addCriterion("car_model <>", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelGreaterThan(String value) {
            addCriterion("car_model >", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelGreaterThanOrEqualTo(String value) {
            addCriterion("car_model >=", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLessThan(String value) {
            addCriterion("car_model <", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLessThanOrEqualTo(String value) {
            addCriterion("car_model <=", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelLike(String value) {
            addCriterion("car_model like", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotLike(String value) {
            addCriterion("car_model not like", value, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelIn(List<String> values) {
            addCriterion("car_model in", values, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotIn(List<String> values) {
            addCriterion("car_model not in", values, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelBetween(String value1, String value2) {
            addCriterion("car_model between", value1, value2, "carModel");
            return (Criteria) this;
        }

        public Criteria andCarModelNotBetween(String value1, String value2) {
            addCriterion("car_model not between", value1, value2, "carModel");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}